(0) Obligation:

Clauses:

parse(Xs, T) :- ','(app(As, .(a, .(s(A, B, C), .(b, Bs))), Xs), ','(app(As, .(s(a, s(A, B, C), b), Bs), Ys), parse(Ys, T))).
parse(Xs, T) :- ','(app(As, .(a, .(s(A, B), .(b, Bs))), Xs), ','(app(As, .(s(a, s(A, B), b), Bs), Ys), parse(Ys, T))).
parse(Xs, T) :- ','(app(As, .(a, .(b, Bs)), Xs), ','(app(As, .(s(a, b), Bs), Ys), parse(Ys, T))).
parse(.(s(A, B), []), s(A, B)).
parse(.(s(A, B, C), []), s(A, B, C)).
app([], X, X).
app(.(X, Xs), Ys, .(X, Zs)) :- app(Xs, Ys, Zs).

Query: parse(g,a)

(1) PrologToPrologProblemTransformerProof (SOUND transformation)

Built Prolog problem from termination graph ICLP10.

(2) Obligation:

Clauses:

appA([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))).
appA(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) :- appA(X184, X185, X186, X187, X188, T116).
appB([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)).
appB(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) :- appB(T193, T194, T195, T196, T197, X242).
appC([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))).
appC(.(T268, X353), X354, X355, X356, .(T268, T269)) :- appC(X353, X354, X355, X356, T269).
appD([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)).
appD(.(T314, T315), T316, T317, T318, .(T314, X388)) :- appD(T315, T316, T317, T318, X388).
appE([], T354, .(a, .(b, T354))).
appE(.(T359, X463), X464, .(T359, T360)) :- appE(X463, X464, T360).
appF([], T372, .(s(a, b), T372)).
appF(.(T379, T380), T381, .(T379, X492)) :- appF(T380, T381, X492).
appG(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)).
appH(T146, T147, T148, T149, T150, T151, .(T146, X220)) :- appB(T147, T148, T149, T150, T151, X220).
parseI(.(a, .(s(T24, T25, T26), .(b, T27))), T7) :- appG(T24, T25, T26, T27, X10).
parseI(.(a, .(s(T24, T25, T26), .(b, T27))), T7) :- ','(appG(T24, T25, T26, T27, T33), parseI(T33, T7)).
parseI(.(T68, T69), T7) :- appA(X109, X110, X111, X112, X113, T69).
parseI(.(T68, T69), T7) :- ','(appA(T78, T79, T80, T81, T82, T69), appH(T68, T78, T79, T80, T81, T82, X10)).
parseI(.(T68, T69), T7) :- ','(appA(T78, T79, T80, T81, T82, T69), ','(appH(T68, T78, T79, T80, T81, T82, T125), parseI(T125, T7))).
parseI(T230, T232) :- appC(X289, X290, X291, X292, T230).
parseI(T230, T232) :- ','(appC(T239, T240, T241, T242, T230), appD(T239, T240, T241, T242, X293)).
parseI(T230, T232) :- ','(appC(T239, T240, T241, T242, T230), ','(appD(T239, T240, T241, T242, T282), parseI(T282, T232))).
parseI(T341, T343) :- appE(X423, X424, T341).
parseI(T341, T343) :- ','(appE(T346, T347, T341), appF(T346, T347, X425)).
parseI(T341, T343) :- ','(appE(T346, T347, T341), ','(appF(T346, T347, T365), parseI(T365, T343))).
parseI(.(s(T394, T395), []), s(T394, T395)).
parseI(.(s(T402, T403, T404), []), s(T402, T403, T404)).

Query: parseI(g,a)

(3) PrologToPiTRSProof (SOUND transformation)

We use the technique of [TOCL09]. With regard to the inferred argument filtering the predicates were used in the following modes:
parseI_in: (b,f)
appA_in: (f,f,f,f,f,b)
appH_in: (b,b,b,b,b,b,f)
appB_in: (b,b,b,b,b,f)
appC_in: (f,f,f,f,b)
appD_in: (b,b,b,b,f)
appE_in: (f,f,b)
appF_in: (b,b,f)
Transforming Prolog into the following Term Rewriting System:
Pi-finite rewrite system:
The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)

Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog

(4) Obligation:

Pi-finite rewrite system:
The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)

(5) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LOPSTR] we result in the following initial DP problem:
Pi DP problem:
The TRS P consists of the following rules:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → APPG_IN_GGGGA(T24, T25, T26, T27, X10)
PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_GA(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → PARSEI_IN_GA(T33, T7)
PARSEI_IN_GA(.(T68, T69), T7) → U11_GA(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
PARSEI_IN_GA(.(T68, T69), T7) → APPA_IN_AAAAAG(X109, X110, X111, X112, X113, T69)
APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_AAAAAG(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → APPA_IN_AAAAAG(X184, X185, X186, X187, X188, T116)
PARSEI_IN_GA(.(T68, T69), T7) → U12_GA(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → APPH_IN_GGGGGGA(T68, T78, T79, T80, T81, T82, X10)
APPH_IN_GGGGGGA(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_GGGGGGA(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
APPH_IN_GGGGGGA(T146, T147, T148, T149, T150, T151, .(T146, X220)) → APPB_IN_GGGGGA(T147, T148, T149, T150, T151, X220)
APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_GGGGGA(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197, X242)
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_GA(T68, T69, T7, parseI_in_ga(T125, T7))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → PARSEI_IN_GA(T125, T7)
PARSEI_IN_GA(T230, T232) → U16_GA(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
PARSEI_IN_GA(T230, T232) → APPC_IN_AAAAG(X289, X290, X291, X292, T230)
APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_AAAAG(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → APPC_IN_AAAAG(X353, X354, X355, X356, T269)
PARSEI_IN_GA(T230, T232) → U17_GA(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → APPD_IN_GGGGA(T239, T240, T241, T242, X293)
APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_GGGGA(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → APPD_IN_GGGGA(T315, T316, T317, T318, X388)
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_GA(T230, T232, parseI_in_ga(T282, T232))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → PARSEI_IN_GA(T282, T232)
PARSEI_IN_GA(T341, T343) → U21_GA(T341, T343, appE_in_aag(X423, X424, T341))
PARSEI_IN_GA(T341, T343) → APPE_IN_AAG(X423, X424, T341)
APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → U5_AAG(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → APPE_IN_AAG(X463, X464, T360)
PARSEI_IN_GA(T341, T343) → U22_GA(T341, T343, appE_in_aag(T346, T347, T341))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U23_GA(T341, T343, appF_in_gga(T346, T347, X425))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → APPF_IN_GGA(T346, T347, X425)
APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → U6_GGA(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → APPF_IN_GGA(T380, T381, X492)
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U24_GA(T341, T343, appF_in_gga(T346, T347, T365))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → U25_GA(T341, T343, parseI_in_ga(T365, T343))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → PARSEI_IN_GA(T365, T343)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
PARSEI_IN_GA(x1, x2)  =  PARSEI_IN_GA(x1)
U8_GA(x1, x2, x3, x4, x5, x6)  =  U8_GA(x6)
APPG_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPG_IN_GGGGA(x1, x2, x3, x4)
U9_GA(x1, x2, x3, x4, x5, x6)  =  U9_GA(x6)
U10_GA(x1, x2, x3, x4, x5, x6)  =  U10_GA(x6)
U11_GA(x1, x2, x3, x4)  =  U11_GA(x4)
APPA_IN_AAAAAG(x1, x2, x3, x4, x5, x6)  =  APPA_IN_AAAAAG(x6)
U1_AAAAAG(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_AAAAAG(x1, x8)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x4)
U13_GA(x1, x2, x3, x4)  =  U13_GA(x4)
APPH_IN_GGGGGGA(x1, x2, x3, x4, x5, x6, x7)  =  APPH_IN_GGGGGGA(x1, x2, x3, x4, x5, x6)
U7_GGGGGGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_GGGGGGA(x1, x8)
APPB_IN_GGGGGA(x1, x2, x3, x4, x5, x6)  =  APPB_IN_GGGGGA(x1, x2, x3, x4, x5)
U2_GGGGGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_GGGGGA(x1, x8)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
U15_GA(x1, x2, x3, x4)  =  U15_GA(x4)
U16_GA(x1, x2, x3)  =  U16_GA(x3)
APPC_IN_AAAAG(x1, x2, x3, x4, x5)  =  APPC_IN_AAAAG(x5)
U3_AAAAG(x1, x2, x3, x4, x5, x6, x7)  =  U3_AAAAG(x1, x7)
U17_GA(x1, x2, x3)  =  U17_GA(x3)
U18_GA(x1, x2, x3)  =  U18_GA(x3)
APPD_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPD_IN_GGGGA(x1, x2, x3, x4)
U4_GGGGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GGGGA(x1, x7)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
U20_GA(x1, x2, x3)  =  U20_GA(x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
APPE_IN_AAG(x1, x2, x3)  =  APPE_IN_AAG(x3)
U5_AAG(x1, x2, x3, x4, x5)  =  U5_AAG(x1, x5)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U23_GA(x1, x2, x3)  =  U23_GA(x3)
APPF_IN_GGA(x1, x2, x3)  =  APPF_IN_GGA(x1, x2)
U6_GGA(x1, x2, x3, x4, x5)  =  U6_GGA(x1, x5)
U24_GA(x1, x2, x3)  =  U24_GA(x3)
U25_GA(x1, x2, x3)  =  U25_GA(x3)

We have to consider all (P,R,Pi)-chains

(6) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → APPG_IN_GGGGA(T24, T25, T26, T27, X10)
PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_GA(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → PARSEI_IN_GA(T33, T7)
PARSEI_IN_GA(.(T68, T69), T7) → U11_GA(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
PARSEI_IN_GA(.(T68, T69), T7) → APPA_IN_AAAAAG(X109, X110, X111, X112, X113, T69)
APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_AAAAAG(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → APPA_IN_AAAAAG(X184, X185, X186, X187, X188, T116)
PARSEI_IN_GA(.(T68, T69), T7) → U12_GA(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → APPH_IN_GGGGGGA(T68, T78, T79, T80, T81, T82, X10)
APPH_IN_GGGGGGA(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_GGGGGGA(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
APPH_IN_GGGGGGA(T146, T147, T148, T149, T150, T151, .(T146, X220)) → APPB_IN_GGGGGA(T147, T148, T149, T150, T151, X220)
APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_GGGGGA(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197, X242)
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_GA(T68, T69, T7, parseI_in_ga(T125, T7))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → PARSEI_IN_GA(T125, T7)
PARSEI_IN_GA(T230, T232) → U16_GA(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
PARSEI_IN_GA(T230, T232) → APPC_IN_AAAAG(X289, X290, X291, X292, T230)
APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_AAAAG(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → APPC_IN_AAAAG(X353, X354, X355, X356, T269)
PARSEI_IN_GA(T230, T232) → U17_GA(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → APPD_IN_GGGGA(T239, T240, T241, T242, X293)
APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_GGGGA(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → APPD_IN_GGGGA(T315, T316, T317, T318, X388)
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_GA(T230, T232, parseI_in_ga(T282, T232))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → PARSEI_IN_GA(T282, T232)
PARSEI_IN_GA(T341, T343) → U21_GA(T341, T343, appE_in_aag(X423, X424, T341))
PARSEI_IN_GA(T341, T343) → APPE_IN_AAG(X423, X424, T341)
APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → U5_AAG(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → APPE_IN_AAG(X463, X464, T360)
PARSEI_IN_GA(T341, T343) → U22_GA(T341, T343, appE_in_aag(T346, T347, T341))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U23_GA(T341, T343, appF_in_gga(T346, T347, X425))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → APPF_IN_GGA(T346, T347, X425)
APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → U6_GGA(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → APPF_IN_GGA(T380, T381, X492)
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U24_GA(T341, T343, appF_in_gga(T346, T347, T365))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → U25_GA(T341, T343, parseI_in_ga(T365, T343))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → PARSEI_IN_GA(T365, T343)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
PARSEI_IN_GA(x1, x2)  =  PARSEI_IN_GA(x1)
U8_GA(x1, x2, x3, x4, x5, x6)  =  U8_GA(x6)
APPG_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPG_IN_GGGGA(x1, x2, x3, x4)
U9_GA(x1, x2, x3, x4, x5, x6)  =  U9_GA(x6)
U10_GA(x1, x2, x3, x4, x5, x6)  =  U10_GA(x6)
U11_GA(x1, x2, x3, x4)  =  U11_GA(x4)
APPA_IN_AAAAAG(x1, x2, x3, x4, x5, x6)  =  APPA_IN_AAAAAG(x6)
U1_AAAAAG(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_AAAAAG(x1, x8)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x4)
U13_GA(x1, x2, x3, x4)  =  U13_GA(x4)
APPH_IN_GGGGGGA(x1, x2, x3, x4, x5, x6, x7)  =  APPH_IN_GGGGGGA(x1, x2, x3, x4, x5, x6)
U7_GGGGGGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_GGGGGGA(x1, x8)
APPB_IN_GGGGGA(x1, x2, x3, x4, x5, x6)  =  APPB_IN_GGGGGA(x1, x2, x3, x4, x5)
U2_GGGGGA(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_GGGGGA(x1, x8)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
U15_GA(x1, x2, x3, x4)  =  U15_GA(x4)
U16_GA(x1, x2, x3)  =  U16_GA(x3)
APPC_IN_AAAAG(x1, x2, x3, x4, x5)  =  APPC_IN_AAAAG(x5)
U3_AAAAG(x1, x2, x3, x4, x5, x6, x7)  =  U3_AAAAG(x1, x7)
U17_GA(x1, x2, x3)  =  U17_GA(x3)
U18_GA(x1, x2, x3)  =  U18_GA(x3)
APPD_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPD_IN_GGGGA(x1, x2, x3, x4)
U4_GGGGA(x1, x2, x3, x4, x5, x6, x7)  =  U4_GGGGA(x1, x7)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
U20_GA(x1, x2, x3)  =  U20_GA(x3)
U21_GA(x1, x2, x3)  =  U21_GA(x3)
APPE_IN_AAG(x1, x2, x3)  =  APPE_IN_AAG(x3)
U5_AAG(x1, x2, x3, x4, x5)  =  U5_AAG(x1, x5)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U23_GA(x1, x2, x3)  =  U23_GA(x3)
APPF_IN_GGA(x1, x2, x3)  =  APPF_IN_GGA(x1, x2)
U6_GGA(x1, x2, x3, x4, x5)  =  U6_GGA(x1, x5)
U24_GA(x1, x2, x3)  =  U24_GA(x3)
U25_GA(x1, x2, x3)  =  U25_GA(x3)

We have to consider all (P,R,Pi)-chains

(7) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LOPSTR] contains 7 SCCs with 26 less nodes.

(8) Complex Obligation (AND)

(9) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → APPF_IN_GGA(T380, T381, X492)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPF_IN_GGA(x1, x2, x3)  =  APPF_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(10) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(11) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPF_IN_GGA(.(T379, T380), T381, .(T379, X492)) → APPF_IN_GGA(T380, T381, X492)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPF_IN_GGA(x1, x2, x3)  =  APPF_IN_GGA(x1, x2)

We have to consider all (P,R,Pi)-chains

(12) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(13) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPF_IN_GGA(.(T379, T380), T381) → APPF_IN_GGA(T380, T381)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(14) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPF_IN_GGA(.(T379, T380), T381) → APPF_IN_GGA(T380, T381)
    The graph contains the following edges 1 > 1, 2 >= 2

(15) YES

(16) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → APPE_IN_AAG(X463, X464, T360)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPE_IN_AAG(x1, x2, x3)  =  APPE_IN_AAG(x3)

We have to consider all (P,R,Pi)-chains

(17) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(18) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPE_IN_AAG(.(T359, X463), X464, .(T359, T360)) → APPE_IN_AAG(X463, X464, T360)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPE_IN_AAG(x1, x2, x3)  =  APPE_IN_AAG(x3)

We have to consider all (P,R,Pi)-chains

(19) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(20) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPE_IN_AAG(.(T359, T360)) → APPE_IN_AAG(T360)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(21) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPE_IN_AAG(.(T359, T360)) → APPE_IN_AAG(T360)
    The graph contains the following edges 1 > 1

(22) YES

(23) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → APPD_IN_GGGGA(T315, T316, T317, T318, X388)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPD_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPD_IN_GGGGA(x1, x2, x3, x4)

We have to consider all (P,R,Pi)-chains

(24) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(25) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPD_IN_GGGGA(.(T314, T315), T316, T317, T318, .(T314, X388)) → APPD_IN_GGGGA(T315, T316, T317, T318, X388)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPD_IN_GGGGA(x1, x2, x3, x4, x5)  =  APPD_IN_GGGGA(x1, x2, x3, x4)

We have to consider all (P,R,Pi)-chains

(26) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(27) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPD_IN_GGGGA(.(T314, T315), T316, T317, T318) → APPD_IN_GGGGA(T315, T316, T317, T318)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(28) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPD_IN_GGGGA(.(T314, T315), T316, T317, T318) → APPD_IN_GGGGA(T315, T316, T317, T318)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3, 4 >= 4

(29) YES

(30) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → APPC_IN_AAAAG(X353, X354, X355, X356, T269)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPC_IN_AAAAG(x1, x2, x3, x4, x5)  =  APPC_IN_AAAAG(x5)

We have to consider all (P,R,Pi)-chains

(31) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(32) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPC_IN_AAAAG(.(T268, X353), X354, X355, X356, .(T268, T269)) → APPC_IN_AAAAG(X353, X354, X355, X356, T269)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPC_IN_AAAAG(x1, x2, x3, x4, x5)  =  APPC_IN_AAAAG(x5)

We have to consider all (P,R,Pi)-chains

(33) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(34) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPC_IN_AAAAG(.(T268, T269)) → APPC_IN_AAAAG(T269)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(35) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPC_IN_AAAAG(.(T268, T269)) → APPC_IN_AAAAG(T269)
    The graph contains the following edges 1 > 1

(36) YES

(37) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197, X242)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPB_IN_GGGGGA(x1, x2, x3, x4, x5, x6)  =  APPB_IN_GGGGGA(x1, x2, x3, x4, x5)

We have to consider all (P,R,Pi)-chains

(38) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(39) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197, X242)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPB_IN_GGGGGA(x1, x2, x3, x4, x5, x6)  =  APPB_IN_GGGGGA(x1, x2, x3, x4, x5)

We have to consider all (P,R,Pi)-chains

(40) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(41) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(42) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPB_IN_GGGGGA(.(T192, T193), T194, T195, T196, T197) → APPB_IN_GGGGGA(T193, T194, T195, T196, T197)
    The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3, 4 >= 4, 5 >= 5

(43) YES

(44) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → APPA_IN_AAAAAG(X184, X185, X186, X187, X188, T116)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
APPA_IN_AAAAAG(x1, x2, x3, x4, x5, x6)  =  APPA_IN_AAAAAG(x6)

We have to consider all (P,R,Pi)-chains

(45) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(46) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

APPA_IN_AAAAAG(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → APPA_IN_AAAAAG(X184, X185, X186, X187, X188, T116)

R is empty.
The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
APPA_IN_AAAAAG(x1, x2, x3, x4, x5, x6)  =  APPA_IN_AAAAAG(x6)

We have to consider all (P,R,Pi)-chains

(47) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(48) Obligation:

Q DP problem:
The TRS P consists of the following rules:

APPA_IN_AAAAAG(.(T115, T116)) → APPA_IN_AAAAAG(T116)

R is empty.
Q is empty.
We have to consider all (P,Q,R)-chains.

(49) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • APPA_IN_AAAAAG(.(T115, T116)) → APPA_IN_AAAAAG(T116)
    The graph contains the following edges 1 > 1

(50) YES

(51) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → PARSEI_IN_GA(T33, T7)
PARSEI_IN_GA(.(T68, T69), T7) → U12_GA(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → PARSEI_IN_GA(T125, T7)
PARSEI_IN_GA(T230, T232) → U17_GA(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → PARSEI_IN_GA(T282, T232)
PARSEI_IN_GA(T341, T343) → U22_GA(T341, T343, appE_in_aag(T346, T347, T341))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U24_GA(T341, T343, appF_in_gga(T346, T347, T365))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → PARSEI_IN_GA(T365, T343)

The TRS R consists of the following rules:

parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U8_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, X10))
appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
U8_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, X10)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)
parseI_in_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_ga(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_ga(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → U10_ga(T24, T25, T26, T27, T7, parseI_in_ga(T33, T7))
parseI_in_ga(.(T68, T69), T7) → U11_ga(T68, T69, T7, appA_in_aaaaag(X109, X110, X111, X112, X113, T69))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U11_ga(T68, T69, T7, appA_out_aaaaag(X109, X110, X111, X112, X113, T69)) → parseI_out_ga(.(T68, T69), T7)
parseI_in_ga(.(T68, T69), T7) → U12_ga(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U13_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, X10))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U13_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, X10)) → parseI_out_ga(.(T68, T69), T7)
U12_ga(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_ga(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_ga(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → U15_ga(T68, T69, T7, parseI_in_ga(T125, T7))
parseI_in_ga(T230, T232) → U16_ga(T230, T232, appC_in_aaaag(X289, X290, X291, X292, T230))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U16_ga(T230, T232, appC_out_aaaag(X289, X290, X291, X292, T230)) → parseI_out_ga(T230, T232)
parseI_in_ga(T230, T232) → U17_ga(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U18_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, X293))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U18_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, X293)) → parseI_out_ga(T230, T232)
U17_ga(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_ga(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_ga(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → U20_ga(T230, T232, parseI_in_ga(T282, T232))
parseI_in_ga(T341, T343) → U21_ga(T341, T343, appE_in_aag(X423, X424, T341))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U21_ga(T341, T343, appE_out_aag(X423, X424, T341)) → parseI_out_ga(T341, T343)
parseI_in_ga(T341, T343) → U22_ga(T341, T343, appE_in_aag(T346, T347, T341))
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U23_ga(T341, T343, appF_in_gga(T346, T347, X425))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
U23_ga(T341, T343, appF_out_gga(T346, T347, X425)) → parseI_out_ga(T341, T343)
U22_ga(T341, T343, appE_out_aag(T346, T347, T341)) → U24_ga(T341, T343, appF_in_gga(T346, T347, T365))
U24_ga(T341, T343, appF_out_gga(T346, T347, T365)) → U25_ga(T341, T343, parseI_in_ga(T365, T343))
parseI_in_ga(.(s(T394, T395), []), s(T394, T395)) → parseI_out_ga(.(s(T394, T395), []), s(T394, T395))
parseI_in_ga(.(s(T402, T403, T404), []), s(T402, T403, T404)) → parseI_out_ga(.(s(T402, T403, T404), []), s(T402, T403, T404))
U25_ga(T341, T343, parseI_out_ga(T365, T343)) → parseI_out_ga(T341, T343)
U20_ga(T230, T232, parseI_out_ga(T282, T232)) → parseI_out_ga(T230, T232)
U15_ga(T68, T69, T7, parseI_out_ga(T125, T7)) → parseI_out_ga(.(T68, T69), T7)
U10_ga(T24, T25, T26, T27, T7, parseI_out_ga(T33, T7)) → parseI_out_ga(.(a, .(s(T24, T25, T26), .(b, T27))), T7)

The argument filtering Pi contains the following mapping:
parseI_in_ga(x1, x2)  =  parseI_in_ga(x1)
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
U8_ga(x1, x2, x3, x4, x5, x6)  =  U8_ga(x6)
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
parseI_out_ga(x1, x2)  =  parseI_out_ga
U9_ga(x1, x2, x3, x4, x5, x6)  =  U9_ga(x6)
U10_ga(x1, x2, x3, x4, x5, x6)  =  U10_ga(x6)
U11_ga(x1, x2, x3, x4)  =  U11_ga(x4)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
U12_ga(x1, x2, x3, x4)  =  U12_ga(x1, x4)
U13_ga(x1, x2, x3, x4)  =  U13_ga(x4)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
U14_ga(x1, x2, x3, x4)  =  U14_ga(x4)
U15_ga(x1, x2, x3, x4)  =  U15_ga(x4)
U16_ga(x1, x2, x3)  =  U16_ga(x3)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
U17_ga(x1, x2, x3)  =  U17_ga(x3)
U18_ga(x1, x2, x3)  =  U18_ga(x3)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
U19_ga(x1, x2, x3)  =  U19_ga(x3)
U20_ga(x1, x2, x3)  =  U20_ga(x3)
U21_ga(x1, x2, x3)  =  U21_ga(x3)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
U22_ga(x1, x2, x3)  =  U22_ga(x3)
U23_ga(x1, x2, x3)  =  U23_ga(x3)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
U24_ga(x1, x2, x3)  =  U24_ga(x3)
U25_ga(x1, x2, x3)  =  U25_ga(x3)
PARSEI_IN_GA(x1, x2)  =  PARSEI_IN_GA(x1)
U9_GA(x1, x2, x3, x4, x5, x6)  =  U9_GA(x6)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x4)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
U17_GA(x1, x2, x3)  =  U17_GA(x3)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U24_GA(x1, x2, x3)  =  U24_GA(x3)

We have to consider all (P,R,Pi)-chains

(52) UsableRulesProof (EQUIVALENT transformation)

For (infinitary) constructor rewriting [LOPSTR] we can delete all non-usable rules from R.

(53) Obligation:

Pi DP problem:
The TRS P consists of the following rules:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27))), T7) → U9_GA(T24, T25, T26, T27, T7, appG_in_gggga(T24, T25, T26, T27, T33))
U9_GA(T24, T25, T26, T27, T7, appG_out_gggga(T24, T25, T26, T27, T33)) → PARSEI_IN_GA(T33, T7)
PARSEI_IN_GA(.(T68, T69), T7) → U12_GA(T68, T69, T7, appA_in_aaaaag(T78, T79, T80, T81, T82, T69))
U12_GA(T68, T69, T7, appA_out_aaaaag(T78, T79, T80, T81, T82, T69)) → U14_GA(T68, T69, T7, appH_in_gggggga(T68, T78, T79, T80, T81, T82, T125))
U14_GA(T68, T69, T7, appH_out_gggggga(T68, T78, T79, T80, T81, T82, T125)) → PARSEI_IN_GA(T125, T7)
PARSEI_IN_GA(T230, T232) → U17_GA(T230, T232, appC_in_aaaag(T239, T240, T241, T242, T230))
U17_GA(T230, T232, appC_out_aaaag(T239, T240, T241, T242, T230)) → U19_GA(T230, T232, appD_in_gggga(T239, T240, T241, T242, T282))
U19_GA(T230, T232, appD_out_gggga(T239, T240, T241, T242, T282)) → PARSEI_IN_GA(T282, T232)
PARSEI_IN_GA(T341, T343) → U22_GA(T341, T343, appE_in_aag(T346, T347, T341))
U22_GA(T341, T343, appE_out_aag(T346, T347, T341)) → U24_GA(T341, T343, appF_in_gga(T346, T347, T365))
U24_GA(T341, T343, appF_out_gga(T346, T347, T365)) → PARSEI_IN_GA(T365, T343)

The TRS R consists of the following rules:

appG_in_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57)) → appG_out_gggga(T54, T55, T56, T57, .(s(a, s(T54, T55, T56), b), T57))
appA_in_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110, .(a, .(s(T107, T108, T109), .(b, T110))))
appA_in_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116)) → U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_in_aaaaag(X184, X185, X186, X187, X188, T116))
appH_in_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220)) → U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_in_ggggga(T147, T148, T149, T150, T151, X220))
appC_in_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263, .(a, .(s(T261, T262), .(b, T263))))
appC_in_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269)) → U3_aaaag(T268, X353, X354, X355, X356, T269, appC_in_aaaag(X353, X354, X355, X356, T269))
appD_in_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303)) → appD_out_gggga([], T301, T302, T303, .(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318, .(T314, X388)) → U4_gggga(T314, T315, T316, T317, T318, X388, appD_in_gggga(T315, T316, T317, T318, X388))
appE_in_aag([], T354, .(a, .(b, T354))) → appE_out_aag([], T354, .(a, .(b, T354)))
appE_in_aag(.(T359, X463), X464, .(T359, T360)) → U5_aag(T359, X463, X464, T360, appE_in_aag(X463, X464, T360))
appF_in_gga([], T372, .(s(a, b), T372)) → appF_out_gga([], T372, .(s(a, b), T372))
appF_in_gga(.(T379, T380), T381, .(T379, X492)) → U6_gga(T379, T380, T381, X492, appF_in_gga(T380, T381, X492))
U1_aaaaag(T115, X184, X185, X186, X187, X188, T116, appA_out_aaaaag(X184, X185, X186, X187, X188, T116)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188, .(T115, T116))
U7_gggggga(T146, T147, T148, T149, T150, T151, X220, appB_out_ggggga(T147, T148, T149, T150, T151, X220)) → appH_out_gggggga(T146, T147, T148, T149, T150, T151, .(T146, X220))
U3_aaaag(T268, X353, X354, X355, X356, T269, appC_out_aaaag(X353, X354, X355, X356, T269)) → appC_out_aaaag(.(T268, X353), X354, X355, X356, .(T268, T269))
U4_gggga(T314, T315, T316, T317, T318, X388, appD_out_gggga(T315, T316, T317, T318, X388)) → appD_out_gggga(.(T314, T315), T316, T317, T318, .(T314, X388))
U5_aag(T359, X463, X464, T360, appE_out_aag(X463, X464, T360)) → appE_out_aag(.(T359, X463), X464, .(T359, T360))
U6_gga(T379, T380, T381, X492, appF_out_gga(T380, T381, X492)) → appF_out_gga(.(T379, T380), T381, .(T379, X492))
appB_in_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179)) → appB_out_ggggga([], T176, T177, T178, T179, .(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242)) → U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_in_ggggga(T193, T194, T195, T196, T197, X242))
U2_ggggga(T192, T193, T194, T195, T196, T197, X242, appB_out_ggggga(T193, T194, T195, T196, T197, X242)) → appB_out_ggggga(.(T192, T193), T194, T195, T196, T197, .(T192, X242))

The argument filtering Pi contains the following mapping:
.(x1, x2)  =  .(x1, x2)
a  =  a
s(x1, x2, x3)  =  s(x1, x2, x3)
b  =  b
appG_in_gggga(x1, x2, x3, x4, x5)  =  appG_in_gggga(x1, x2, x3, x4)
appG_out_gggga(x1, x2, x3, x4, x5)  =  appG_out_gggga(x5)
appA_in_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_in_aaaaag(x6)
appA_out_aaaaag(x1, x2, x3, x4, x5, x6)  =  appA_out_aaaaag(x1, x2, x3, x4, x5)
U1_aaaaag(x1, x2, x3, x4, x5, x6, x7, x8)  =  U1_aaaaag(x1, x8)
appH_in_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_in_gggggga(x1, x2, x3, x4, x5, x6)
U7_gggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U7_gggggga(x1, x8)
appB_in_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_in_ggggga(x1, x2, x3, x4, x5)
[]  =  []
appB_out_ggggga(x1, x2, x3, x4, x5, x6)  =  appB_out_ggggga(x6)
U2_ggggga(x1, x2, x3, x4, x5, x6, x7, x8)  =  U2_ggggga(x1, x8)
appH_out_gggggga(x1, x2, x3, x4, x5, x6, x7)  =  appH_out_gggggga(x7)
appC_in_aaaag(x1, x2, x3, x4, x5)  =  appC_in_aaaag(x5)
s(x1, x2)  =  s(x1, x2)
appC_out_aaaag(x1, x2, x3, x4, x5)  =  appC_out_aaaag(x1, x2, x3, x4)
U3_aaaag(x1, x2, x3, x4, x5, x6, x7)  =  U3_aaaag(x1, x7)
appD_in_gggga(x1, x2, x3, x4, x5)  =  appD_in_gggga(x1, x2, x3, x4)
appD_out_gggga(x1, x2, x3, x4, x5)  =  appD_out_gggga(x5)
U4_gggga(x1, x2, x3, x4, x5, x6, x7)  =  U4_gggga(x1, x7)
appE_in_aag(x1, x2, x3)  =  appE_in_aag(x3)
appE_out_aag(x1, x2, x3)  =  appE_out_aag(x1, x2)
U5_aag(x1, x2, x3, x4, x5)  =  U5_aag(x1, x5)
appF_in_gga(x1, x2, x3)  =  appF_in_gga(x1, x2)
appF_out_gga(x1, x2, x3)  =  appF_out_gga(x3)
U6_gga(x1, x2, x3, x4, x5)  =  U6_gga(x1, x5)
PARSEI_IN_GA(x1, x2)  =  PARSEI_IN_GA(x1)
U9_GA(x1, x2, x3, x4, x5, x6)  =  U9_GA(x6)
U12_GA(x1, x2, x3, x4)  =  U12_GA(x1, x4)
U14_GA(x1, x2, x3, x4)  =  U14_GA(x4)
U17_GA(x1, x2, x3)  =  U17_GA(x3)
U19_GA(x1, x2, x3)  =  U19_GA(x3)
U22_GA(x1, x2, x3)  =  U22_GA(x3)
U24_GA(x1, x2, x3)  =  U24_GA(x3)

We have to consider all (P,R,Pi)-chains

(54) PiDPToQDPProof (SOUND transformation)

Transforming (infinitary) constructor rewriting Pi-DP problem [LOPSTR] into ordinary QDP problem [LPAR04] by application of Pi.

(55) Obligation:

Q DP problem:
The TRS P consists of the following rules:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27)))) → U9_GA(appG_in_gggga(T24, T25, T26, T27))
U9_GA(appG_out_gggga(T33)) → PARSEI_IN_GA(T33)
PARSEI_IN_GA(.(T68, T69)) → U12_GA(T68, appA_in_aaaaag(T69))
U12_GA(T68, appA_out_aaaaag(T78, T79, T80, T81, T82)) → U14_GA(appH_in_gggggga(T68, T78, T79, T80, T81, T82))
U14_GA(appH_out_gggggga(T125)) → PARSEI_IN_GA(T125)
PARSEI_IN_GA(T230) → U17_GA(appC_in_aaaag(T230))
U17_GA(appC_out_aaaag(T239, T240, T241, T242)) → U19_GA(appD_in_gggga(T239, T240, T241, T242))
U19_GA(appD_out_gggga(T282)) → PARSEI_IN_GA(T282)
PARSEI_IN_GA(T341) → U22_GA(appE_in_aag(T341))
U22_GA(appE_out_aag(T346, T347)) → U24_GA(appF_in_gga(T346, T347))
U24_GA(appF_out_gga(T365)) → PARSEI_IN_GA(T365)

The TRS R consists of the following rules:

appG_in_gggga(T54, T55, T56, T57) → appG_out_gggga(.(s(a, s(T54, T55, T56), b), T57))
appA_in_aaaaag(.(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110)
appA_in_aaaaag(.(T115, T116)) → U1_aaaaag(T115, appA_in_aaaaag(T116))
appH_in_gggggga(T146, T147, T148, T149, T150, T151) → U7_gggggga(T146, appB_in_ggggga(T147, T148, T149, T150, T151))
appC_in_aaaag(.(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263)
appC_in_aaaag(.(T268, T269)) → U3_aaaag(T268, appC_in_aaaag(T269))
appD_in_gggga([], T301, T302, T303) → appD_out_gggga(.(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318) → U4_gggga(T314, appD_in_gggga(T315, T316, T317, T318))
appE_in_aag(.(a, .(b, T354))) → appE_out_aag([], T354)
appE_in_aag(.(T359, T360)) → U5_aag(T359, appE_in_aag(T360))
appF_in_gga([], T372) → appF_out_gga(.(s(a, b), T372))
appF_in_gga(.(T379, T380), T381) → U6_gga(T379, appF_in_gga(T380, T381))
U1_aaaaag(T115, appA_out_aaaaag(X184, X185, X186, X187, X188)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188)
U7_gggggga(T146, appB_out_ggggga(X220)) → appH_out_gggggga(.(T146, X220))
U3_aaaag(T268, appC_out_aaaag(X353, X354, X355, X356)) → appC_out_aaaag(.(T268, X353), X354, X355, X356)
U4_gggga(T314, appD_out_gggga(X388)) → appD_out_gggga(.(T314, X388))
U5_aag(T359, appE_out_aag(X463, X464)) → appE_out_aag(.(T359, X463), X464)
U6_gga(T379, appF_out_gga(X492)) → appF_out_gga(.(T379, X492))
appB_in_ggggga([], T176, T177, T178, T179) → appB_out_ggggga(.(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197) → U2_ggggga(T192, appB_in_ggggga(T193, T194, T195, T196, T197))
U2_ggggga(T192, appB_out_ggggga(X242)) → appB_out_ggggga(.(T192, X242))

The set Q consists of the following terms:

appG_in_gggga(x0, x1, x2, x3)
appA_in_aaaaag(x0)
appH_in_gggggga(x0, x1, x2, x3, x4, x5)
appC_in_aaaag(x0)
appD_in_gggga(x0, x1, x2, x3)
appE_in_aag(x0)
appF_in_gga(x0, x1)
U1_aaaaag(x0, x1)
U7_gggggga(x0, x1)
U3_aaaag(x0, x1)
U4_gggga(x0, x1)
U5_aag(x0, x1)
U6_gga(x0, x1)
appB_in_ggggga(x0, x1, x2, x3, x4)
U2_ggggga(x0, x1)

We have to consider all (P,Q,R)-chains.

(56) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
Strictly oriented dependency pairs:

PARSEI_IN_GA(.(a, .(s(T24, T25, T26), .(b, T27)))) → U9_GA(appG_in_gggga(T24, T25, T26, T27))
U9_GA(appG_out_gggga(T33)) → PARSEI_IN_GA(T33)
PARSEI_IN_GA(.(T68, T69)) → U12_GA(T68, appA_in_aaaaag(T69))
U12_GA(T68, appA_out_aaaaag(T78, T79, T80, T81, T82)) → U14_GA(appH_in_gggggga(T68, T78, T79, T80, T81, T82))
U14_GA(appH_out_gggggga(T125)) → PARSEI_IN_GA(T125)
PARSEI_IN_GA(T230) → U17_GA(appC_in_aaaag(T230))
U17_GA(appC_out_aaaag(T239, T240, T241, T242)) → U19_GA(appD_in_gggga(T239, T240, T241, T242))
U19_GA(appD_out_gggga(T282)) → PARSEI_IN_GA(T282)
PARSEI_IN_GA(T341) → U22_GA(appE_in_aag(T341))
U22_GA(appE_out_aag(T346, T347)) → U24_GA(appF_in_gga(T346, T347))
U24_GA(appF_out_gga(T365)) → PARSEI_IN_GA(T365)

Strictly oriented rules of the TRS R:

appG_in_gggga(T54, T55, T56, T57) → appG_out_gggga(.(s(a, s(T54, T55, T56), b), T57))
appA_in_aaaaag(.(a, .(s(T107, T108, T109), .(b, T110)))) → appA_out_aaaaag([], T107, T108, T109, T110)
appA_in_aaaaag(.(T115, T116)) → U1_aaaaag(T115, appA_in_aaaaag(T116))
appH_in_gggggga(T146, T147, T148, T149, T150, T151) → U7_gggggga(T146, appB_in_ggggga(T147, T148, T149, T150, T151))
appC_in_aaaag(.(a, .(s(T261, T262), .(b, T263)))) → appC_out_aaaag([], T261, T262, T263)
appC_in_aaaag(.(T268, T269)) → U3_aaaag(T268, appC_in_aaaag(T269))
appD_in_gggga([], T301, T302, T303) → appD_out_gggga(.(s(a, s(T301, T302), b), T303))
appD_in_gggga(.(T314, T315), T316, T317, T318) → U4_gggga(T314, appD_in_gggga(T315, T316, T317, T318))
appE_in_aag(.(a, .(b, T354))) → appE_out_aag([], T354)
appE_in_aag(.(T359, T360)) → U5_aag(T359, appE_in_aag(T360))
appF_in_gga([], T372) → appF_out_gga(.(s(a, b), T372))
appF_in_gga(.(T379, T380), T381) → U6_gga(T379, appF_in_gga(T380, T381))
U1_aaaaag(T115, appA_out_aaaaag(X184, X185, X186, X187, X188)) → appA_out_aaaaag(.(T115, X184), X185, X186, X187, X188)
U7_gggggga(T146, appB_out_ggggga(X220)) → appH_out_gggggga(.(T146, X220))
U3_aaaag(T268, appC_out_aaaag(X353, X354, X355, X356)) → appC_out_aaaag(.(T268, X353), X354, X355, X356)
U4_gggga(T314, appD_out_gggga(X388)) → appD_out_gggga(.(T314, X388))
U5_aag(T359, appE_out_aag(X463, X464)) → appE_out_aag(.(T359, X463), X464)
U6_gga(T379, appF_out_gga(X492)) → appF_out_gga(.(T379, X492))
appB_in_ggggga([], T176, T177, T178, T179) → appB_out_ggggga(.(s(a, s(T176, T177, T178), b), T179))
appB_in_ggggga(.(T192, T193), T194, T195, T196, T197) → U2_ggggga(T192, appB_in_ggggga(T193, T194, T195, T196, T197))
U2_ggggga(T192, appB_out_ggggga(X242)) → appB_out_ggggga(.(T192, X242))

Used ordering: Knuth-Bendix order [KBO] with precedence:
appFingga2 > appGingggga4 > appBinggggga5 > b > U6gga2 > appEinaag1 > U5aag2 > appEoutaag2 > appCinaaaag1 > U3aaaag2 > appAinaaaaag1 > appDingggga4 > U4gggga2 > appCoutaaaag4 > U19GA1 > U12GA2 > .2 > U14GA1 > U17GA1 > U24GA1 > U1aaaaag2 > appDoutgggga1 > [] > appGoutgggga1 > U7gggggga2 > U9GA1 > PARSEIINGA1 > appHingggggga6 > appFoutgga1 > U22GA1 > appAoutaaaaag5 > s2 > U2ggggga2 > appBoutggggga1 > a > appHoutgggggga1 > s3

and weight map:

a=1
b=1
[]=13
appG_out_gggga_1=9
appA_in_aaaaag_1=5
appC_in_aaaag_1=5
appD_out_gggga_1=10
appE_in_aag_1=8
appF_out_gga_1=9
appB_out_ggggga_1=9
appH_out_gggggga_1=11
PARSEI_IN_GA_1=11
U9_GA_1=3
U14_GA_1=1
U17_GA_1=3
U19_GA_1=1
U22_GA_1=3
U24_GA_1=3
appG_in_gggga_4=13
._2=2
s_3=0
appA_out_aaaaag_5=0
U1_aaaaag_2=2
appH_in_gggggga_6=6
U7_gggggga_2=5
appB_in_ggggga_5=0
s_2=0
appC_out_aaaag_4=0
U3_aaaag_2=2
appD_in_gggga_4=1
U4_gggga_2=2
appE_out_aag_2=1
U5_aag_2=2
appF_in_gga_2=0
U6_gga_2=2
U2_ggggga_2=2
U12_GA_2=7

The variable weight is 1

(57) Obligation:

Q DP problem:
P is empty.
R is empty.
The set Q consists of the following terms:

appG_in_gggga(x0, x1, x2, x3)
appA_in_aaaaag(x0)
appH_in_gggggga(x0, x1, x2, x3, x4, x5)
appC_in_aaaag(x0)
appD_in_gggga(x0, x1, x2, x3)
appE_in_aag(x0)
appF_in_gga(x0, x1)
U1_aaaaag(x0, x1)
U7_gggggga(x0, x1)
U3_aaaag(x0, x1)
U4_gggga(x0, x1)
U5_aag(x0, x1)
U6_gga(x0, x1)
appB_in_ggggga(x0, x1, x2, x3, x4)
U2_ggggga(x0, x1)

We have to consider all (P,Q,R)-chains.

(58) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(59) YES